package com.qf.spring.service;

import com.qf.spring.dao.UserDao;

/**
 * created by 赵文韬 on 2022/3/4 9:05
 */
public class UserService {
    private UserDao userDao;
    public void setUserDao(UserDao userDao){
        this.userDao=userDao;
    }
    public void addUser(){
        System.out.println("UserService中的方法执行了");
        userDao.addUser();
    }
}
